package com.ycy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.ycy.pojo.Bank;

@Mapper
public interface BankDao {

	List<Bank> findall();

	int del(int id);

	int add(@Param("bank")Bank bank);

	Bank findIt(String name);

	int edit(@Param("bank")Bank bank);

}
